<?php

/**
 * Created by PhpStorm.
 * User: raymon
 * Date: 17-8-15
 * Time: 下午9:46
 */
class Base_model extends MY_Model
{
    public function get_navMenus(){
        $this->db->from('column');
        $this->db->order_by('parent', 'ASC');
        $this->db->order_by('sequence', 'ASC');
        $query = $this->db->get();
        return $query->result_array();
    }
}